import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'

import Element from 'element-ui'
import { Message } from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
Vue.prototype.$message = Message


import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

// 全局css
import '@/styles/index.scss' // global css
// 根据屏幕大小进行适配
import './utils/rem'

// 引入cookie
import Cookies from 'js-cookie'
Vue.prototype.Cookies = Cookies

// axios引入
Vue.prototype.axios = axios
Vue.use(Element, {
  size: Cookies.get('size') || 'medium' // set element-ui default size
})
Vue.config.productionTip = false



new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
